class Employee:
    count = 0

    def __init__(self, name):
        self.name = name
        Employee.count += 1

    @classmethod
    def get_total_employees(cls):
        return cls.count

    # 实例化几个员工对象


emp1 = Employee("Alice")
emp2 = Employee("Bob")
emp3 = Employee("Charlie")

# 输出员工总数
print(Employee.get_total_employees())